Input for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / GetTextExtentExPoint Method / GetTextExtentExPoint(IntPtr,String,Int32,Int32,Int32,Int32[],Size) Method

In This Topic
    GetTextExtentExPoint(IntPtr,String,Int32,Int32,Int32,Int32[],Size) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetTextExtentExPoint( _
       ByVal hdc As IntPtr, _
       ByVal lpszStr As String, _
       ByVal cchString As Integer, _
       ByVal nMaxExtent As Integer, _
       ByRef lpnFit As Integer, _
       ByVal alpDx() As Integer, _
       ByRef lpSize As Size _
    ) As Boolean
    public static bool GetTextExtentExPoint( 
       IntPtr hdc,
       string lpszStr,
       int cchString,
       int nMaxExtent,
       out int lpnFit,
       int[] alpDx,
       out Size lpSize
    )

    Parameters

    hdc
    lpszStr
    cchString
    nMaxExtent
    lpnFit
    alpDx
    lpSize
    See Also